﻿using _2112A_2_MES._sujiahao;
using _2112A_2_MES.WangWeiHaos.Inputs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test.WangWeiHao;
using Volo.Abp.Application.Services;

namespace _2112A_2_MES.WangWeiHaos.IService
{
    public interface IWorkShopService : IApplicationService
    {
        Task<ReturnSelect<object>> GetWorkShopList(string workshopCode, string workshopName, int pageIndex, int pageSize);

        Task<int> AddWorkShop(MdWorkshop workshop);

        Task<int> UpdateWorkShop(WorkshopInput workshop);

        Task<int> DeleteWorkShop(int id);

        Task<MdWorkshop> GetWorkShopById(int id);
    }
}
